﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Inspire.Main.Exceptions
{
    public class InvalidValueAssignmentException : ApplicationException
    {
        /// <summary>
        /// Default Constructor
        /// </summary>
        public InvalidValueAssignmentException() { }

        /// <summary>
        /// Constructor setting the message to print out
        /// </summary>
        /// <param name="message"></param>
        public InvalidValueAssignmentException(string message) { }

        /// <summary>
        /// Constructor setting the message to print out and the inner exception it results from
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        public InvalidValueAssignmentException(string message, Exception innerException) { }

        /// <summary>
        /// Used to serialize the exception if it is thrown on a remote server
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected InvalidValueAssignmentException(SerializationInfo info, StreamingContext context) { }
    }
}
